package com.new_wear.project.system.nav.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.new_wear.framework.aspectj.lang.annotation.Excel;
import com.new_wear.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 系统 - 导航对象 cst_nav
 * 
 * @author new_wear
 * @date 2020-01-07
 */
public class CstNav extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Integer id;

    /** null */
    @Excel(name = "null")
    private Integer pid;

    /** 数据ID */
    @Excel(name = "数据ID")
    private Integer dataId;

    /** 模型类型 */
    @Excel(name = "模型类型")
    private String dataTpe;

    /** 排序 */
    @Excel(name = "排序")
    private Integer display;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 添加时间 */
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /** 区域ID */
    @Excel(name = "区域ID")
    private Integer areaId;

    /** 1、PC  2、手机 3、TV */
    @Excel(name = "1、PC  2、手机 3、TV")
    private Integer tpe;

    /** 图标 */
    @Excel(name = "图标")
    private String icon;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 链接地址 */
    @Excel(name = "链接地址")
    private String link;

    /** null */
    @Excel(name = "null")
    private Integer status;

    /** null */
    @Excel(name = "null")
    private Integer level;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setPid(Integer pid) 
    {
        this.pid = pid;
    }

    public Integer getPid() 
    {
        return pid;
    }
    public void setDataId(Integer dataId) 
    {
        this.dataId = dataId;
    }

    public Integer getDataId() 
    {
        return dataId;
    }
    public void setDataTpe(String dataTpe) 
    {
        this.dataTpe = dataTpe;
    }

    public String getDataTpe() 
    {
        return dataTpe;
    }
    public void setDisplay(Integer display) 
    {
        this.display = display;
    }

    public Integer getDisplay() 
    {
        return display;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAddtime(Date addtime) 
    {
        this.addtime = addtime;
    }

    public Date getAddtime() 
    {
        return addtime;
    }
    public void setAreaId(Integer areaId) 
    {
        this.areaId = areaId;
    }

    public Integer getAreaId() 
    {
        return areaId;
    }
    public void setTpe(Integer tpe) 
    {
        this.tpe = tpe;
    }

    public Integer getTpe() 
    {
        return tpe;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setLink(String link) 
    {
        this.link = link;
    }

    public String getLink() 
    {
        return link;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setLevel(Integer level) 
    {
        this.level = level;
    }

    public Integer getLevel() 
    {
        return level;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pid", getPid())
            .append("dataId", getDataId())
            .append("dataTpe", getDataTpe())
            .append("display", getDisplay())
            .append("name", getName())
            .append("addtime", getAddtime())
            .append("areaId", getAreaId())
            .append("tpe", getTpe())
            .append("icon", getIcon())
            .append("img", getImg())
            .append("link", getLink())
            .append("status", getStatus())
            .append("level", getLevel())
            .toString();
    }
}
